package org.x.legalcasemod.service;



import com.mybatisflex.core.service.IService;
import org.x.legalcasemod.dto.AllocationLawyerDTO;
import org.x.legalcasemod.dto.AssignLawyerDTO;
import org.x.legalcasemod.dto.GetCaseListDTO;
import org.x.legalcasemod.dto.OperatorCseDTO;
import org.x.legalcasemod.entity.LegalCaseEntity;
import org.x.legalcasemod.vo.AcceptCaseVO;
import org.x.legalcasemod.vo.GetCaseDetailVO;
import org.x.legalcasemod.vo.GetCaseListVO;


/**
 * 案件表 服务层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
public interface ICaseManagementService extends IService<LegalCaseEntity> {


    /**
     * 获取案件列表(分页)
     * @param getCaseListDTO
     * @return
     */
    GetCaseListVO getCaseList(GetCaseListDTO getCaseListDTO);

    /**
     * 分配律师
     * @param allocationLawyerDTO
     */
    void allocationLawyer(AllocationLawyerDTO allocationLawyerDTO);

    /**
     * 案件接收
     * @param caseId
     * @return
     */
    AcceptCaseVO acceptCase(Long caseId);

    /**
     * 获取案件详情
     * @param caseNo
     * @return
     */
    GetCaseDetailVO getCaseDetail(String caseNo);

    /**
     * 分配律师
     */
    void assignLawyer(AssignLawyerDTO assignLawyerDTO);
}